﻿using B.S.BaseData.ErrorCode;
using B.S.BaseData.ReadAPI.DTOs.ResponseDto;
using MediatR;

namespace B.S.BaseData.ReadAPI.Applications.Commands.Departments
{
	public class GetdepartmentListCommand:IRequest<ApiResult<APIPaging<DepartmentDTO>>>
	{
		/// <summary>
		/// 页码
		/// </summary>
		public int PageIndex { get; set; }
		/// <summary>
		/// 页容量
		/// </summary>
		public int PageSize { get; set; }
		/// <summary>
		/// 部门名称
		/// </summary>
		public string? DepartmentName { get; set; }
	}
}
